/*
 * @Author: rosen yang
 * @Date: 2021-05-18 08:51:45
 * @LastEditTime: 2022-01-07 09:47:59
 * @LastEditors: RosenYang
 * @Description:
 * @FilePath: \global-healthcare\src\router\index.js
 */
import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import Table from '../views/table.vue'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home,
    meta: {
      title: '通用环球医疗-驾驶舱'
    }
  },
  {
    path: '/table',
    name: 'table',
    component: Table,
    meta: {
      title: '表格处理'
    }
  }
]

const router = new VueRouter({
  routes
})

export default router
